i = 1
while i <= 10:
    print("*" * i)
    i = i + 1

nums = [11, 22, 33, 44]
for temp in nums:
    print(temp)
else:
    print("11111")

card_infos = [{"name": "老王", "age": 20}, {"name": "老赵", "age": 21}, {"name": "老李", "age": 22}]
name = input("请输入查找的名字:\n")
for temp in card_infos:
    if temp["name"] == name:
        print("找到了" + name)
        break
else:
    print("没有找到" + name)

a = [11, 22, 33]
b = [44, 55]
a.extend(b)
print(a)
a.append(b)
print(a)

# 元祖的元素不能修改
c = (11, 22, 33)
print(c)

# 字典
info = {"name": "老王", "age": 20}
print(len(info))
